package com.mall.xiaomi.mapper;

import com.mall.xiaomi.pojo.Carousel;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @ClassName CarouselMapper
 * @Description TODO
 * @action luoliang
 * @Data 2021/2/24 14:36
 * @Version 1.0
 */

public interface CarouselMapper extends Mapper<Carousel> {
    /**
     * 轮播图
     * @return
     */
    @Select("select * from carousel")
    List<Carousel> selectAll();

}
